package com.chinaedu.oc.po.saledate;
/***********************************************************************
 * Module:  Saledate.java
 * Author:  Administrator
 * Purpose: Defines the Class Saledate
 ***********************************************************************/

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

/**
 * 销售期表
 * 
 * @pdOid bdf52d9f-8b69-46e0-95bf-252d17777b1c
 */
public class Saledate {
	/**
	 * 销售期id
	 * 
	 * @pdOid 6e3c7744-317b-43b6-9c45-3908b717c90d
	 */
	private String id;
	/**
	 * 开始日期
	 * 
	 * @pdOid db848f3c-6518-48e9-8ca1-286b9a16afff
	 */
	private Timestamp startDate;
	
	/**
	 * 当前时间 该字段数据库中用不到
	 */
	private Timestamp currentDate;
	
	/**
	 * 创建人
	 */
	private String creator;
	
	/**
	 * 结束日期
	 * 
	 * @pdOid 166c2f0d-4da4-40ff-ab75-f70386a4169f
	 */
	private Timestamp endDate;
	
	private String commodityId;
	
	private Timestamp createDate;
	
	private List<Desc> descList;
	
	private List<Videos> videosList;
	
	private List<Picture> pictureList;
	

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Timestamp getStartDate() {
		return startDate;
	}

	public void setStartDate(Timestamp startDate) {
		this.startDate = startDate;
	}

	public Timestamp getEndDate() {
		return endDate;
	}

	public void setEndDate(Timestamp endDate) {
		this.endDate = endDate;
	}

	public String getCommodityId() {
		return commodityId;
	}

	public void setCommodityId(String commodityId) {
		this.commodityId = commodityId;
	}

	public List<Desc> getDescList() {
		return descList;
	}

	public void setDescList(List<Desc> descList) {
		this.descList = descList;
	}

	public List<Videos> getVideosList() {
		return videosList;
	}

	public void setVideosList(List<Videos> videosList) {
		this.videosList = videosList;
	}

	public List<Picture> getPictureList() {
		return pictureList;
	}

	public void setPictureList(List<Picture> pictureList) {
		this.pictureList = pictureList;
	}
	

	public Timestamp getCurrentDate() {
		return currentDate;
	}

	public void setCurrentDate(Timestamp currentDate) {
		this.currentDate = currentDate;
	}
	
	public Timestamp getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	@Override
	public String toString() {
		return "Saledate [id=" + id + ", startDate=" + startDate + ", endDate=" + endDate + ", commodityId="
				+ commodityId + ", descList=" + descList + ", videosList=" + videosList + ", pictureList=" + pictureList
				+ "]";
	}
}